package com.codermn.demo4;

/**
 * @author jxau_scf
 * @date 2021/6/2 - 17:19
 */
public class Dog2Ha extends Dog {
    @Override
    public void sleep() {
        System.out.println("嘿嘿嘿~~~~~");
    }

    public static void main(String[] args) {
//        Animal animal = new Animal();
//        Dog dog = new Dog();
        Dog2Ha dog2Ha = new Dog2Ha();
        dog2Ha.sleep();
        dog2Ha.eat();
        }

}

